package jumpingnotes.dao.hibernate;

import java.util.List;

import jumpingnotes.dao.BookExpectDao;
import jumpingnotes.model.entity.BookExpect;
import jumpingnotes.util.Sorter;

public class BookExpectHibernateDao extends GenericHibernateDao<BookExpect> implements BookExpectDao
{
	public BookExpectHibernateDao()
	{
		super(BookExpect.class);
	}

	@Override
	public List<BookExpect> findAll(int firstResult, int maxResults)
	{
		return findAll(firstResult, maxResults, Sorter.desc("createTime"));
	}
}
